home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / pascal / pnl010.zip / MDP5A.EDL < prev    next >
Text File  |  1992-03-01  |  342b  |  16 lines

  1. 1,#d
  2. tmdp5.pas
  3. 1
  4. program mdp5a;
  5. 12
  6. {$M 16384,0,0} {Note NO heap - TBuff now comes from DOS, NOT the heap}
  7. 14
  8. uses crt,Textutl2, DosMem;
  9. 39
  10.   TBuff := ptr (DosMem.Alloc (TBuffSize * 64),0); { * 64 turns K into paras}
  11. 57
  12.       DosMem.Free (seg(TBuff^)); {not really needed, but here for looks.}
  13. 75
  14.   DosMem.Free (seg(TBuff^));
  15. e
  16.